home *** CD-ROM | disk | FTP | other *** search
- Path: nuscc.nus.sg!chngchi1
- From: chngchi1@iscs.nus.sg (Benedict CHNG)
- Newsgroups: comp.lang.c++
- Subject: VC++4.0 Linking Problem ...
- Date: 28 Mar 1996 07:23:07 GMT
- Organization: National University of Singapore
- Message-ID: <4jdeor$9kh@nuscc.nus.sg>
- NNTP-Posting-Host: chngchi1%@ibmunx.iscs.nus.sg
- X-Newsreader: TIN [version 1.2 PL2]
-
- I have no problem generating code that calls mfc40(d).dll but when I
- tried to standalone code that doesn't requie mfc40(d).dll, I get a link
- error saying that my GDI32.DLL is corrupted.
-
- I'm using VC++4.0 on Win95 OS. Program is generated by AppWizard.
-
- You see, no many what program I try, I get the same linking problem. Even
- those 'virgin' program that's churned out by the AppWizard (ie, they
- aren't modified yet in any way). I even try those sample program included
- in the 'on-line books'. Just to quote one, I tried that 'minimal hello'
- sample. No matter how I tried to tweak the build settings, I just get the
- same problem with my debug version, but whenever I tried to run the debug
- version out of the developer's studio, I get a debug error too!
-
- OK, the output is here :
- --------------------Configuration: Helloapp - Win32 Release--------------------
- Compiling...
- helloapp.cpp
- Linking...
- gdi32.lib(GDI32.dll) : fatal error LNK1143: invalid or corrupt file: no
- symbol for comdat section 0x4
- Error executing link.exe.
- helloapp.exe - 1 error(s), 0 warning(s)
-
-
- Ben
- PS : I'm really desperate now as my project dateline gets closer.
-
-
-